include_rules = [
  # Allow inclusion of specific components that we depend on.
  # See comment in content/DEPS for which components are allowed.
  "+components/discardable_memory/common",
  "+components/discardable_memory/service",
  "+components/filesystem",
  "+components/leveldb",
  "+components/link_header_util",
  "+components/mime_util",
  "+components/payments",
  "+components/profile_service",
  "+components/rappor/public",
  "+components/scheduler/common",
  "+components/tracing",
  "+components/url_formatter",

  "+content/app/strings/grit",  # For generated headers
  "+content/public/browser",
  "+device/battery",  # For battery status service.
  "+device/gamepad", # For gamepad API
  "+device/generic_sensor",  # For sensors service.
  "+device/geolocation",
  "+device/nfc",
  "+device/power_save_blocker",
  "+device/screen_orientation/public/interfaces",
  "+device/sensors/public",
  "+device/vibration",  # For Vibration API
  "+device/vr",  # For WebVR API
  "+device/wake_lock",
  "+gin/v8_initializer.h",
  "+mojo",
  "+services",
  "+sql",
  "+ui/aura_extra",
  "+ui/webui",
  "+win8/util",

  # In general, //content shouldn't depend on //device.
  # This is the an exception.
  "+device/udev_linux",  # For udev utility and wrapper library.

  # Explicitly disallow using SyncMessageFilter to prevent browser from
  # sending synchronous IPC messages on non-UI threads.
  "-ipc/ipc_sync_message_filter.h",

  # Other libraries.
  "+third_party/iaccessible2",
  "+third_party/isimpledom",
  "+third_party/khronos",   # For enum definitions only
  "+third_party/re2",

  # Allow non-browser Chrome OS code to be used.
  "+chromeos",
  "+third_party/cros_system_api",

  # No inclusion of WebKit from the browser, other than strictly enum/POD,
  # header-only types, and some selected common code.
  "-third_party/WebKit",
  "+third_party/WebKit/public/platform/WebAddressSpace.h",
  "+third_party/WebKit/public/platform/WebCursorInfo.h",
  "+third_party/WebKit/public/platform/WebDisplayMode.h",
  "+third_party/WebKit/public/platform/WebDragOperation.h",
  "+third_party/WebKit/public/platform/WebFocusType.h",
  "+third_party/WebKit/public/platform/WebGamepad.h",
  "+third_party/WebKit/public/platform/WebGamepads.h",
  "+third_party/WebKit/public/platform/WebGestureEvent.h",
  "+third_party/WebKit/public/platform/WebInputEvent.h",
  "+third_party/WebKit/public/platform/WebInsecureRequestPolicy.h",
  "+third_party/WebKit/public/platform/WebMixedContentContextType.h",
  "+third_party/WebKit/public/platform/WebMouseEvent.h",
  "+third_party/WebKit/public/platform/WebMouseWheelEvent.h",
  "+third_party/WebKit/public/platform/WebNavigationHintType.h",
  "+third_party/WebKit/public/platform/WebPageVisibilityState.h",
  "+third_party/WebKit/public/platform/WebReferrerPolicy.h",
  "+third_party/WebKit/public/platform/WebScreenInfo.h",
  "+third_party/WebKit/public/platform/WebSecurityStyle.h",
  "+third_party/WebKit/public/platform/WebString.h",
  "+third_party/WebKit/public/platform/WebTextInputType.h",
  "+third_party/WebKit/public/platform/mime_registry.mojom.h",
  "+third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h",
  "+third_party/WebKit/public/platform/modules/broadcastchannel/broadcast_channel.mojom.h",
  "+third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseException.h",
  "+third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h",
  "+third_party/WebKit/public/platform/modules/mediasession/media_session.mojom.h",
  "+third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h",
  "+third_party/WebKit/public/platform/modules/notifications/notification.mojom.h",
  "+third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom.h",
  "+third_party/WebKit/public/platform/modules/permissions/permission.mojom.h",
  "+third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h",
  "+third_party/WebKit/public/platform/modules/presentation/presentation.mojom.h",
  "+third_party/WebKit/public/platform/modules/push_messaging/WebPushPermissionStatus.h",
  "+third_party/WebKit/public/platform/modules/screen_orientation/WebLockOrientationError.h",
  "+third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h",
  "+third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerCacheError.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerError.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerEventResult.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseError.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseType.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerState.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom.h",
  "+third_party/WebKit/public/platform/modules/vr/WebVR.h",
  "+third_party/WebKit/public/platform/modules/websockets/websocket.mojom.h",
  "+third_party/WebKit/public/public_features.h",
  "+third_party/WebKit/public/web/WebAXEnums.h",
  "+third_party/WebKit/public/web/WebCompositionUnderline.h",
  "+third_party/WebKit/public/web/WebConsoleMessage.h",
  "+third_party/WebKit/public/web/WebContentSecurityPolicy.h",
  "+third_party/WebKit/public/web/WebDeviceEmulationParams.h",
  "+third_party/WebKit/public/web/WebDragStatus.h",
  "+third_party/WebKit/public/web/WebFindOptions.h",
  "+third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h",
  "+third_party/WebKit/public/web/WebMediaPlayerAction.h",
  "+third_party/WebKit/public/web/WebPluginAction.h",
  "+third_party/WebKit/public/web/WebPopupType.h",
  "+third_party/WebKit/public/web/WebSandboxFlags.h",
  "+third_party/WebKit/public/web/WebSerializedScriptValueVersion.h",
  "+third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h",
  "+third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h",
  "+third_party/WebKit/public/web/WebTextDirection.h",
  "+third_party/WebKit/public/web/WebTreeScopeType.h",
  "+third_party/WebKit/public/web/mac/WebScrollbarTheme.h",

  # Until we define where mojo interfaces should live in blink we whitelist each
  # one separately.
  "+third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom.h",
  "+third_party/WebKit/public/platform/modules/notifications/notification_service.mojom.h",

  # DO NOT ADD ANY CHROME OR COMPONENTS INCLUDES HERE!!!
  # See https://sites.google.com/a/chromium.org/dev/developers/content-module
  # for more information.
]
